#include <iostream>
#include <array>
using namespace std;

//新数组类型
void new_arr()
{
	std::array<double, 4> new_arr = { 2.3,2.4,1.2,5.2 };

	for (double d : new_arr)
	{
		cout << d << endl;
	}

	_Array_iterator<double,4Ui64> it = new_arr.begin();

	cout << "begin = " << *it << endl;
}

void main2()
{
	new_arr();
	system("pause");
}